home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17943 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 67 61 | 72 66 69 65 6c 64 2e 65 |Path: ga|rfield.e|
|00000010| 70 73 2e 61 67 66 61 2e | 62 65 21 6c 76 68 6f 6f |ps.agfa.|be!lvhoo|
|00000020| 66 0a 46 72 6f 6d 3a 20 | 52 61 6e 6b 6f 20 4f 72 |f.From: |Ranko Or|
|00000030| 6c 69 63 20 3c 72 6f 72 | 6c 69 63 40 65 70 73 2e |lic <ror|lic@eps.|
|00000040| 61 67 66 61 2e 62 65 3e | 0a 4e 65 77 73 67 72 6f |agfa.be>|.Newsgro|
|00000050| 75 70 73 3a 20 63 6f 6d | 70 2e 6f 73 2e 6d 73 2d |ups: com|p.os.ms-|
|00000060| 77 69 6e 64 6f 77 73 2e | 70 72 6f 67 72 61 6d 6d |windows.|programm|
|00000070| 65 72 2e 74 6f 6f 6c 73 | 2e 6d 69 73 63 2c 63 6f |er.tools|.misc,co|
|00000080| 6d 70 2e 6f 73 2e 6d 73 | 2d 77 69 6e 64 6f 77 73 |mp.os.ms|-windows|
|00000090| 2e 70 72 6f 67 72 61 6d | 6d 65 72 2e 77 69 6e 33 |.program|mer.win3|
|000000a0| 32 2c 63 6f 6d 70 2e 6f | 73 2e 6d 73 2d 77 69 6e |2,comp.o|s.ms-win|
|000000b0| 64 6f 77 73 2e 70 72 6f | 67 72 61 6d 6d 65 72 2e |dows.pro|grammer.|
|000000c0| 6d 69 73 63 2c 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |misc,com|p.lang.c|
|000000d0| 2b 2b 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |++.Subje|ct: Re: |
|000000e0| 5b 51 5d 20 57 68 79 20 | 64 6f 65 73 6e 27 74 20 |[Q] Why |doesn't |
|000000f0| 74 68 69 73 20 63 6f 6d | 70 69 6c 65 3f 0a 44 61 |this com|pile?.Da|
|00000100| 74 65 3a 20 54 68 75 2c | 20 31 38 20 41 70 72 20 |te: Thu,| 18 Apr |
|00000110| 31 39 39 36 20 30 39 3a | 31 30 3a 31 37 20 2b 30 |1996 09:|10:17 +0|
|00000120| 32 30 30 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |200.Orga|nization|
|00000130| 3a 20 41 67 66 61 2d 47 | 65 76 61 65 72 74 20 4e |: Agfa-G|evaert N|
|00000140| 56 2e 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |V..Messa|ge-ID: <|
|00000150| 33 31 37 35 45 41 44 39 | 2e 35 32 43 44 40 65 70 |3175EAD9|.52CD@ep|
|00000160| 73 2e 61 67 66 61 2e 62 | 65 3e 0a 52 65 66 65 72 |s.agfa.b|e>.Refer|
|00000170| 65 6e 63 65 73 3a 20 3c | 33 31 37 35 32 33 43 30 |ences: <|317523C0|
|00000180| 2e 35 30 34 32 40 65 70 | 73 2e 61 67 66 61 2e 62 |.5042@ep|s.agfa.b|
|00000190| 65 3e 20 3c 34 6c 33 63 | 70 76 24 6c 37 34 40 68 |e> <4l3c|pv$l74@h|
|000001a0| 65 6c 69 75 6d 2e 65 69 | 6e 65 74 2e 6e 65 74 3e |elium.ei|net.net>|
|000001b0| 0a 4e 4e 54 50 2d 50 6f | 73 74 69 6e 67 2d 48 6f |.NNTP-Po|sting-Ho|
|000001c0| 73 74 3a 20 62 72 75 73 | 73 65 6c 73 2e 65 70 73 |st: brus|sels.eps|
|000001d0| 2e 61 67 66 61 2e 62 65 | 0a 4d 69 6d 65 2d 56 65 |.agfa.be|.Mime-Ve|
|000001e0| 72 73 69 6f 6e 3a 20 31 | 2e 30 0a 43 6f 6e 74 65 |rsion: 1|.0.Conte|
|000001f0| 6e 74 2d 54 79 70 65 3a | 20 74 65 78 74 2f 70 6c |nt-Type:| text/pl|
|00000200| 61 69 6e 3b 20 63 68 61 | 72 73 65 74 3d 75 73 2d |ain; cha|rset=us-|
|00000210| 61 73 63 69 69 0a 43 6f | 6e 74 65 6e 74 2d 54 72 |ascii.Co|ntent-Tr|
|00000220| 61 6e 73 66 65 72 2d 45 | 6e 63 6f 64 69 6e 67 3a |ansfer-E|ncoding:|
|00000230| 20 37 62 69 74 0a 58 2d | 4d 61 69 6c 65 72 3a 20 | 7bit.X-|Mailer: |
|00000240| 4d 6f 7a 69 6c 6c 61 20 | 32 2e 30 20 28 57 69 6e |Mozilla |2.0 (Win|
|00000250| 4e 54 3b 20 49 29 0a 54 | 6f 3a 20 4a 6f 68 6e 20 |NT; I).T|o: John |
|00000260| 41 72 69 73 63 6f 20 3c | 61 72 69 73 63 6f 40 74 |Arisco <|arisco@t|
|00000270| 72 61 64 65 77 61 76 65 | 2e 63 6f 6d 3e 0a 0a 3e |radewave|.com>..>|
|00000280| 20 59 6f 75 20 63 61 6e | 6e 6f 74 20 63 61 6c 6c | You can|not call|
|00000290| 20 61 20 6e 6f 6e 2d 73 | 74 61 74 69 63 20 6d 65 | a non-s|tatic me|
|000002a0| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 20 77 69 |mber fun|ction wi|
|000002b0| 74 68 6f 75 74 20 73 70 | 65 63 69 66 79 69 6e 67 |thout sp|ecifying|
|000002c0| 0a 3e 20 61 6e 20 6f 62 | 6a 65 63 74 2e 20 20 54 |.> an ob|ject. T|
|000002d0| 68 65 20 77 61 79 20 79 | 6f 75 27 76 65 20 77 72 |he way y|ou've wr|
|000002e0| 69 74 74 65 6e 20 74 68 | 69 73 2c 20 74 68 65 72 |itten th|is, ther|
|000002f0| 65 20 69 73 20 6e 6f 20 | 77 61 79 20 66 6f 72 20 |e is no |way for |
|00000300| 42 3a 3a 4c 3a 3a 66 28 | 29 0a 3e 20 74 6f 20 73 |B::L::f(|).> to s|
|00000310| 65 74 20 69 74 73 20 22 | 74 68 69 73 22 20 70 6f |et its "|this" po|
|00000320| 69 6e 74 65 72 2e 20 20 | 4f 66 20 63 6f 75 72 73 |inter. |Of cours|
|00000330| 65 2c 20 69 66 20 74 68 | 69 73 20 69 73 20 72 65 |e, if th|is is re|
|00000340| 61 6c 6c 79 20 77 68 61 | 74 20 79 6f 75 20 77 61 |ally wha|t you wa|
|00000350| 6e 74 0a 3e 20 74 6f 20 | 64 6f 2c 20 74 68 65 20 |nt.> to |do, the |
|00000360| 64 65 63 6c 61 72 61 74 | 69 6f 6e 20 6f 66 20 42 |declarat|ion of B|
|00000370| 3a 3a 4c 3a 3a 66 28 29 | 20 69 73 20 75 6e 6e 65 |::L::f()| is unne|
|00000380| 63 65 73 73 61 72 79 2c | 20 73 69 6e 63 65 20 42 |cessary,| since B|
|00000390| 3a 3a 4c 0a 3e 20 69 6e | 68 65 72 69 74 73 20 74 |::L.> in|herits t|
|000003a0| 68 65 20 41 3a 3a 4c 3a | 3a 66 28 29 20 76 69 72 |he A::L:|:f() vir|
|000003b0| 74 75 61 6c 20 6d 65 74 | 68 6f 64 20 66 72 6f 6d |tual met|hod from|
|000003c0| 20 69 74 73 20 62 61 73 | 65 20 63 6c 61 73 73 2e | its bas|e class.|
|000003d0| 0a 3e 20 0a 3e 20 7c 20 | 20 4a 6f 68 6e 20 41 72 |.> .> | | John Ar|
|000003e0| 69 73 63 6f 20 20 20 3c | 61 72 69 73 63 6f 40 74 |isco <|arisco@t|
|000003f0| 72 61 64 65 77 61 76 65 | 2e 63 6f 6d 3e 0a 0a 44 |radewave|.com>..D|
|00000400| 65 61 72 20 4a 6f 68 6e | 2c 20 28 77 68 65 72 65 |ear John|, (where|
|00000410| 20 68 61 76 65 20 49 20 | 68 65 61 72 64 20 74 68 | have I |heard th|
|00000420| 69 73 20 73 6f 6e 67 20 | 62 65 66 6f 72 65 2c 20 |is song |before, |
|00000430| 53 74 61 74 75 73 20 51 | 75 6f 20 70 65 72 68 61 |Status Q|uo perha|
|00000440| 70 73 3f 29 0a 0a 61 29 | 20 49 74 20 77 61 73 20 |ps?)..a)| It was |
|00000450| 6a 75 73 74 20 61 6e 20 | 65 78 61 6d 70 6c 65 2c |just an |example,|
|00000460| 20 69 6e 20 72 65 61 6c | 20 6c 69 66 65 20 49 27 | in real| life I'|
|00000470| 64 20 63 61 6c 6c 65 64 | 20 74 68 65 20 62 61 73 |d called| the bas|
|00000480| 65 20 63 6c 61 73 73 20 | 69 6d 70 6c 65 6d 65 6e |e class |implemen|
|00000490| 74 61 74 69 6f 6e 20 41 | 3a 3a 4c 3a 3a 66 28 29 |tation A|::L::f()|
|000004a0| 20 61 6e 64 20 64 6f 6e | 65 20 73 6f 6d 65 74 68 | and don|e someth|
|000004b0| 69 6e 67 20 0a 75 73 65 | 66 75 6c 20 69 6e 20 61 |ing .use|ful in a|
|000004c0| 64 64 69 74 69 6f 6e 2e | 0a 62 29 20 42 3a 3a 4c |ddition.|.b) B::L|
|000004d0| 3a 3a 66 28 29 20 49 53 | 20 61 20 72 65 67 75 6c |::f() IS| a regul|
|000004e0| 61 72 20 6d 65 6d 62 65 | 72 20 66 75 6e 63 74 69 |ar membe|r functi|
|000004f0| 6f 6e 2c 20 6e 6f 74 20 | 61 20 73 74 61 74 69 63 |on, not |a static|
|00000500| 20 6f 6e 65 2c 20 73 6f | 20 74 68 65 20 63 6f 6d | one, so| the com|
|00000510| 70 69 6c 65 72 20 64 6f | 65 73 20 68 61 76 65 20 |piler do|es have |
|00000520| 61 20 74 68 69 73 20 70 | 6f 69 6e 74 65 72 21 20 |a this p|ointer! |
|00000530| 54 68 65 20 0a 70 72 6f | 62 6c 65 6d 20 69 73 20 |The .pro|blem is |
|00000540| 74 68 65 20 63 6f 6d 70 | 69 6c 65 72 20 77 68 69 |the comp|iler whi|
|00000550| 63 68 20 74 68 69 6e 6b | 73 20 69 73 20 61 20 73 |ch think|s is a s|
|00000560| 74 61 74 69 63 20 6d 65 | 6d 62 65 72 20 66 75 6e |tatic me|mber fun|
|00000570| 63 74 69 6f 6e 2e 20 49 | 27 76 65 20 74 72 69 65 |ction. I|'ve trie|
|00000580| 64 20 69 74 20 6f 6e 20 | 6f 74 68 65 72 20 63 6f |d it on |other co|
|00000590| 6d 70 69 6c 65 72 73 20 | 28 6f 6e 20 62 6f 74 68 |mpilers |(on both|
|000005a0| 20 4d 61 63 20 0a 61 6e | 64 20 53 75 6e 29 2c 20 | Mac .an|d Sun), |
|000005b0| 61 6e 64 20 74 68 65 79 | 20 68 61 76 65 20 6e 6f |and they| have no|
|000005c0| 20 74 72 6f 75 62 6c 65 | 20 77 69 74 68 20 69 74 | trouble| with it|
|000005d0| 2e 0a 0a 52 65 67 61 72 | 64 73 2c 0a 0a 2d 2d 20 |...Regar|ds,..-- |
|000005e0| 52 61 6e 6b 6f 2e 0a 0a | 50 53 2e 20 74 68 61 6e |Ranko...|PS. than|
|000005f0| 6b 73 20 61 6e 79 68 6f | 77 20 66 6f 72 20 79 6f |ks anyho|w for yo|
|00000600| 75 72 20 72 65 73 70 6f | 6e 73 65 0a |ur respo|nse. |
+--------+-------------------------+-------------------------+--------+--------+